using UnityEngine;

public class BaseTask : MonoBehaviour
{
	public bool FinishState;

	[HideInInspector]
	public bool one;

	[HideInInspector]
	public bool two;

	[HideInInspector]
	public bool three;

	[HideInInspector]
	public bool four;

	[HideInInspector]
	public float stoptime;

	[HideInInspector]
	public bool timebegin;

	public int stepid;

	public GameStep cur_step;

	[HideInInspector]
	public bool isSuccess;

	public float TimeCal = 300f;

	public virtual void MyUpdate()
	{
	}

	public virtual void MyStart()
	{
		FinishState = false;
		timebegin = true;
		isSuccess = false;
		stoptime = 0f;
		one = false;
		two = false;
		three = false;
		four = false;
		cur_step = DataController.instance.DataStep[stepid];
	}

	public virtual void MyEnd()
	{
		FinishState = false;
		cur_step = null;
	}

	public virtual void timeone()
	{
	}

	public virtual void timetwo()
	{
	}

	public virtual void timethree()
	{
	}

	public virtual void timefour()
	{
	}
}
